package com.freesky.web.manager.remote.panel.fallback;

import com.freesky.common.dao.entity.HomeRotationChart;
import com.freesky.common.pojo.DataTablesResult;
import com.freesky.common.pojo.ZTreeNode;
import com.freesky.common.utils.reponse.JSONResponse;
import com.freesky.common.utils.reponse.JSONResponseDiretor;
import com.freesky.common.vo.VOPanelContent;
import com.freesky.web.manager.remote.panel.HomeRotationChartRemote;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Slf4j
public class HomeRotationChartRemoteFallback implements HomeRotationChartRemote {


    @Override
    public JSONResponse add(HomeRotationChart rotationChart) {
        log.error("首页轮播图添加服务维护中");
        return JSONResponseDiretor.buildBadServiceJSONResponse("首页轮播图添加服务维护中",null);
    }


    @Override
    public JSONResponse update(HomeRotationChart rotationChart) {
        log.error("首页轮播图更新服务维护中");
        return JSONResponseDiretor.buildBadServiceJSONResponse("首页轮播图更新服务维护中",null);
    }

    @Override
    public JSONResponse delete(int[] ids) {
        log.error("首页轮播图删除服务维护中");
        return JSONResponseDiretor.buildBadServiceJSONResponse("首页轮播图删除服务维护中",null);
    }
}
